Companion

Properties

Link copied to clipboard

The identity transformation matrix.

Functions

Link copied to clipboard
fun createRotation(firstAngle: Double, secondAngle: Double, thirdAngle: Double, sequence: RotationSequence, angleUnit: AngleUnit = AngleUnit.RADIANS): AffineTransformationMatrix3

Creates a combined rotation transformation matrix using the specified rotation sequence. This is more efficient than multiplying individual rotation matrices as it computes the final transformation matrix directly using trigonometric identities.

Link copied to clipboard
fun createRotationX(angle: Double, angleUnit: AngleUnit = AngleUnit.RADIANS): AffineTransformationMatrix3

Creates a rotation transformation matrix around the X-axis.

Link copied to clipboard
fun createRotationY(angle: Double, angleUnit: AngleUnit = AngleUnit.RADIANS): AffineTransformationMatrix3

Creates a rotation transformation matrix around the Y-axis.

Link copied to clipboard
fun createRotationZ(angle: Double, angleUnit: AngleUnit = AngleUnit.RADIANS): AffineTransformationMatrix3

Creates a rotation transformation matrix around the Z-axis.

Link copied to clipboard

Creates a scaling transformation matrix from a vector.

Creates a uniform scaling transformation matrix.

Creates a scaling transformation matrix.

Link copied to clipboard

Creates a translation transformation matrix from a vector.

Creates a translation transformation matrix.